function convertToEdit(){
    let selectFile = document.getElementById("mdFile").files[0];
    let reader = new FileReader();
    reader.onloadend = function () {
        testEditor.setValue(reader.result)
    }
    if (selectFile) {
        reader.readAsText(selectFile);
    }
}